<? if (my_content_type($filename)=="mpg") { ?>
<div style="border:solid 1px gray;font-family:webdings;width:160;background-color:#f0f0FF;padding:2px" align="center" id="playercontrols">
<table cellpadding="0" cellspacing="0">
 <tr>
  <td>
  <img src="<?= $href ?>?i=po" align="absmiddle">
  </td>
  <td>
<marquee 
style="width:140;overflow:hidden;font:8pt tahoma;color:blue"><?= filetitle ($filename) ?></marquee>  
  </td>
 </tr>
</table>


<div id="wmpstatus" style="font-family:Arial, Helvetica, sans-serif;font-size:9pt "></div>
<div id="dprogpic" style="width:140;height:8;border:inset 1px;background-color:f0f0FF"
 align="left"><img src="<?= $href ?>?i=a" width="1" height="8" id=progpic></div>

<div align="left">

<font face="webdings">
 <span id=spControls style="margin-left:3;display:;cursor:hand"><label id="l_pl"
		onclick=WMP.Play()>4</label><label id="l_pa" 
		onclick=WMP.Pause()>;</label><label id="l_st" 
		onclick=WMP.Stop()><</label></span><label disabled>|</label><label title="Previous Track" id="l_pr" 
		onclick="goimage(<?= $f-1 ?>)">7</label><label title="Next Track" id="l_nx"  
		onclick="goimage(<?= $f+1 ?>)">8</label><label disabled>|</label><a style="font:7pt arial" title="Back 7 seconds" 
		onclick="RepositionTrack(-7)">&lt; 7</a>  <a style="font:7pt arial" title="Forward 30 seconds" 
		onclick="RepositionTrack(30)">&gt; 30</a>&nbsp;<label id="l_mt" style="font-size:9pt;cursor:hand;<? if ($_GET["mm"]=="1") { ?>background-color:white<? }?>"
		onclick="WMP.Mute=!WMP.Mute;setMute()">X</label>		
		<label id="l_ct" 
		 style="font-size:9pt;cursor:hand;<? if ($_GET["cc"]=="1") { ?>background-color:white<? }?>" title="Continuous Play"
		 onclick="setContinuous()"
		  >q</label>	</font></div>
		  
 </div> 
 
<? } else if ($ft=="nsv") { ?>
<div style="border:solid 1px blue;font-family:webdings;width:160;background-color:#CCCCFF;padding:2px" align="left">
<img src="<?= $href ?>?i=pw" align="absmiddle"><font face="webdings">
  <span id=nsvControls style="margin-left:3;display:;cursor:hand"><a 
onclick=nsvplayx.play()>4</a><a 
onclick=nsvplayx.pause()>;</a><a 
onclick=nsvplayx.stop()><</a><label disabled>|</label><label title="Previous Track" id="l_pr" 
		onclick="goimage(<?= $f-1 ?>)">7</label><label title="Next Track" id="l_nx"  
		onclick="goimage(<?= $f+1 ?>)">8</label> <label disabled>|</label> <a 
		onclick="fb_edit('mz', 1)" style="font-family:arial;<? if ($mz==1) {?>background-color:white<? } ?>"
		><u>1x</u></a> <a 
		onclick="fb_edit('mz', 2)" style="font-family:arial;<? if ($mz==2) {?>background-color:white<? } ?>"
		><u>2x</u></a></span> </font>
</div>
<? } else if ($ft=="ram") { ?>
<div id="wmpstatus" style="font-family:Arial, Helvetica, sans-serif;font-size:9pt "></div>
<div style="border:solid 1px blue;font-family:webdings;width:220;background-color:#CCCCFF;padding:2px" align="left">
<img src="<?= $href ?>?i=py" align="absmiddle">
<font face="webdings">
  <span id=nsvControls style="margin-left:3;display:;cursor:hand"><a 
onclick=RVOCX.DoPlay()>4</a><a 
onclick=RVOCX.DoPause()>;</a><a 
onclick=RVOCX.DoStop()><</a>|<label title="Previous Track" id="l_pr" 
		onclick="goimage(<?= $f-1 ?>)">7</label><label title="Next Track" id="l_nx"  
		onclick="goimage(<?= $f+1 ?>)">8</label> </span>|<a style="font:7pt arial" title="Back 7 seconds" 
		onclick="RepositionTrack(-7)">&lt; 7</a>  <a style="font:7pt arial" title="Forward 30 seconds" 
		onclick="RepositionTrack(30)">&gt; 30</a> | <a 
		onclick="fb_edit('mz', 1)" style="font-family:arial;<? if ($mz==1) {?>background-color:white<? } ?>"
		><u>1x</u></a> <a 
		onclick="fb_edit('mz', 2)" style="font-family:arial;<? if ($mz==2) {?>background-color:white<? } ?>"
		><u>2x</u></a>	&nbsp;<label id="l_mt" style="font-size:9pt;cursor:hand"
		onclick="RVOCX.SetMute(!RVOCX.GetMute())">X</label>			
		<label id="l_ct" for="continous" 
		 style="font-size:9pt;cursor:hand;<? if ($_GET["cc"]=="1") { ?>background-color:white<? }?>" title="Continuous Play"
		 onclick="setContinuous()"
		  >q</label></font>	
</div>  
<? } ?>